<extend name="Public/base" />
<block name="content">
<div id="content">
	<div id="content-header">
		<div id="breadcrumb">
			<a href="{:U('Index/index')}" title="首页" class="tip-bottom"><i class="icon-home"></i> 首页</a> 
			<a class="tip-bottom" href="{:U('ServiceManage/index')}" data-original-title="">{$meta_title_c}</a> 
			<a class="current" href="{$post_url}">{$meta_title}</a>
		</div>
	</div>
    <div class="container-fluid">
	<br/>
        <!-- CSS -->
        <style type="text/css">
        .well{background:#FFF;}
        .alert{}
        .alert h4{margin-top:15px;}
        .alert ul{margin:15px;}
        .alert ul li{padding:5px;}
        </style>
        <!-- /CSS -->
        <!-- 活动信息 -->
        <div class="row-fluid">
            <div class="well well-small">
                <h4>活动信息</h4>
                <dl class="dl-horizontal">
                    <dt>活动名称</dt><dd>{$list.activity_name|htmlspecialchars}</dd>
                    <dt>活动开始时间</dt><dd>{$list.start_time|time_format}</dd>
                    <dt>活动结束时间</dt><dd>{$list.end_time|time_format}</dd>
                </dl>
            </div>
        </div>
        <!-- /活动信息 -->
        <div class="row-fluid">
            <div class="span3 alert alert-error">
                <!-- 销售网点管理 -->
                <a href="{:U('addActivitySalePoint?activity_id='.$list['activity_id'])}" class="btn pull-right btn-danger">添加</a>
                <h4><i class="icon-sitemap"></i> 销售网点管理</h4>
                <ul>
                    <volist name="sale_point_list" id="vo">
                    <li>{$vo.sale_point_id|getSalePointName}</li>
                    </volist>
                </ul>
                <!-- 销售网点管理 -->
            </div>
            <div class="span3 alert alert-info">
                <!-- 班车地点管理 -->
                <a href="{:U('addActivityBus?activity_id='.$list['activity_id'])}" class="btn btn-info pull-right">添加</a>
                <h4><i class="icon-sitemap"></i> 班车点管理</h4>
                <ul>
                    <volist name="bus_list" id="vo">
                   	<li>{$vo.bus_point_id|getBusPointName}</li>
                    </volist>
                </ul>
                <!-- 班车地点管理 -->
            </div>
            <div class="span3 alert alert-success">
                <!-- 班车时间管理 -->
                <a href="{:U('addActivityDepartureTime?activity_id='.$list['activity_id'])}" class="btn btn-success pull-right">添加</a>
                <h4><i class="icon-sitemap"></i> 班车时间管理</h4>
                <ul>
                    <volist name="departure_time_list" id="vo">
                    <li>{$vo.departure_time|time_format}</li>
                    </volist>
                </ul>
                <!-- 班车时间管理 -->
            </div>
            <div class="span3 alert alert-warning">
                <!-- 短信模板管理 -->
                <a href="{:U('addActivitySms?activity_id='.$list['activity_id'])}" class="btn btn-warning pull-right">添加</a>
                <h4><i class="icon-sitemap"></i> 短信模板</h4>
                <ul>
                    <volist name="sms_list" id="vo">
                    <li>{$vo.sms_template_id|getSmsTemplateName}</li>
                    </volist>
                </ul>
                <!-- 短信模板管理 -->
            </div>
            
            <div style="clear:both"></div>
            <button  class="btn " onclick="history.go(-1);">返回上一级</button>
            
        </div>
    </div>
</div>
<script type="text/javascript">
//导航高亮
highlight_subnav("{:U('ServiceManage/index')}");
</script>
</block>